package com.example.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class Attractions {
    @TableId(type = IdType.AUTO)
    private Integer id;//景点id
    private String name;//景点名称
    private Integer topic;//主题
    private String image;//图片地址
    private String introduce;//景点介绍
    private String address;//景点地址
    private String detailedAddress;//详细地址
    private Double price;//门票价格
    private String appraise;//星级
    private Integer recommend;//是否推荐
    private Integer views;//浏览量

    @TableField(exist = false)
    private String topicName;//主题名称
}
